//
//  FindOfCustomView.m
//  PetAPP
//
//  Created by apple on 16/2/13.
//  Copyright © 2016年 Yuming. All rights reserved.
//

#import "FindOfCustomView.h"

@interface FindOfCustomView ()



@end


@implementation FindOfCustomView
- (void)dealloc {
    [_block release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {

    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.userInteractionEnabled = YES;
    }
    return self;
}

- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    
    self.block(self.tag);


}




@end
